/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.File;
import java.io.IOException;
import patternmining.model.construction.JavaSourceGroup;
import patternmining.model.construction.ModelGraphBuilder;
import patternmining.model.construction.WrongFileTypeException;

/**
 *
 * @author Holger
 */
public class Main {

    public static void main(String[] args){

        try{
            JavaSourceGroup sources = new JavaSourceGroup();
            sources.addFile( new File("Test1.java") );
            sources.addFile( new File("Test2.java") );
            ModelGraphBuilder graphBuilder = new ModelGraphBuilder(sources);
            graphBuilder.getGraph();
        }
        catch(IOException e){e.printStackTrace();}
        catch(WrongFileTypeException e){e.printStackTrace();}
    }

}
